﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KhachSan.Process.Private.Tien.Usercontrol
{
    public partial class ucFormCheckIn_DP : UserControl
    {
        KhachSanDataContext db = new KhachSanDataContext(Public.XLDuLieu.chuoi_ket_noi);
        public ucFormCheckIn_DP()
        {
            InitializeComponent();
            //button1.Left = Screen.PrimaryScreen.Bounds.Width/2 - button1.Size.Width/2;
            List<object> lphieudat = db.sp_PhieuDatPhong_DanhSach().Cast<object>().ToList();
            dataGridView1.DataSource = lphieudat;
        }
    }
}
